home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 83 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  792 b 

  1. Path: ccat.sas.upenn.edu!aaron
  2. From: aaron@ccat.sas.upenn.edu (Aaron Pawlyk)
  3. Newsgroups: comp.lang.c
  4. Subject: Determining Program Memory Usage
  5. Date: 1 Jan 1996 18:41:03 GMT
  6. Organization: University of Pennsylvania
  7. Message-ID: <4c99rv$qph@netnews.upenn.edu>
  8. NNTP-Posting-Host: ccat.sas.upenn.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hello.  I've scowered a few reference manuals and some programmers for a
  12. C function that will return the memory used by the program it is called within.
  13.  
  14. I'm just looking for some code or a function that'll return memory currently
  15. used by a program.  Any references to any code or any quick examples of how
  16. to do this would be appreciated.
  17.  
  18. Lessee.  System information.  Linux (Slackware).  Kernel 1.2.11.
  19.  
  20. Running GCC 2.5.6 (or about there...)
  21.  
  22. Aaron Pawlyk
  23.  
  24.